<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Insert Text Demo</title>
	<style type="text/css">
		h2:before {
			content: 'New';
			color: white;
			background-color: orange;
			font-family: 'Comic Sans MS', Helvetica, sans-serif;
			padding: 1px 5px;
			margin-right: 10px;
		}
		h2.ignore:before {
			content: none
		}
	</style>
</head>
<body>
	<h2>标题文字</h2>
	<h2 class="ignore">标题2</h2>
</body>
</html>